using GalaSoft.MvvmLight;
using System.Windows.Input;
using GalaSoft.MvvmLight.Command;
using System.Linq;
using ASoft.Msg;
using System;

namespace ASoft.WPF.ViewModel
{
	public partial class PLCDataViewModel : ViewModelBase
    {
		#region "PortName"

        private String _PortName = default(String);

        public String PortName
        {
            get
            {
                return _PortName;
            }
            set
            {
                if (_PortName == value)
                {
                    return;
                }

                _PortName = value;
                RaisePropertyChanged("PortName");
            }
        }

        #endregion
		#region "SerialOvertime"

        private Int32 _SerialOvertime = default(Int32);

        public Int32 SerialOvertime
        {
            get
            {
                return _SerialOvertime;
            }
            set
            {
                if (_SerialOvertime == value)
                {
                    return;
                }

                _SerialOvertime = value;
                RaisePropertyChanged("SerialOvertime");
            }
        }

        #endregion
		#region "IsCheckSerialHead"

        private Boolean _IsCheckSerialHead = default(Boolean);

        public Boolean IsCheckSerialHead
        {
            get
            {
                return _IsCheckSerialHead;
            }
            set
            {
                if (_IsCheckSerialHead == value)
                {
                    return;
                }

                _IsCheckSerialHead = value;
                RaisePropertyChanged("IsCheckSerialHead");
            }
        }

        #endregion
		#region "IsCheckSerialId"

        private Boolean _IsCheckSerialId = default(Boolean);

        public Boolean IsCheckSerialId
        {
            get
            {
                return _IsCheckSerialId;
            }
            set
            {
                if (_IsCheckSerialId == value)
                {
                    return;
                }

                _IsCheckSerialId = value;
                RaisePropertyChanged("IsCheckSerialId");
            }
        }

        #endregion
		#region "IsCheckSerialLength"

        private Boolean _IsCheckSerialLength = default(Boolean);

        public Boolean IsCheckSerialLength
        {
            get
            {
                return _IsCheckSerialLength;
            }
            set
            {
                if (_IsCheckSerialLength == value)
                {
                    return;
                }

                _IsCheckSerialLength = value;
                RaisePropertyChanged("IsCheckSerialLength");
            }
        }

        #endregion
		#region "IsCheckSerialBit"

        private Boolean _IsCheckSerialBit = default(Boolean);

        public Boolean IsCheckSerialBit
        {
            get
            {
                return _IsCheckSerialBit;
            }
            set
            {
                if (_IsCheckSerialBit == value)
                {
                    return;
                }

                _IsCheckSerialBit = value;
                RaisePropertyChanged("IsCheckSerialBit");
            }
        }

        #endregion
		#region "IsCheckSerialStatus"

        private Boolean _IsCheckSerialStatus = default(Boolean);

        public Boolean IsCheckSerialStatus
        {
            get
            {
                return _IsCheckSerialStatus;
            }
            set
            {
                if (_IsCheckSerialStatus == value)
                {
                    return;
                }

                _IsCheckSerialStatus = value;
                RaisePropertyChanged("IsCheckSerialStatus");
            }
        }

        #endregion
		#region "IsAutoRunByWindow"

        private Boolean _IsAutoRunByWindow = default(Boolean);

        public Boolean IsAutoRunByWindow
        {
            get
            {
                return _IsAutoRunByWindow;
            }
            set
            {
                if (_IsAutoRunByWindow == value)
                {
                    return;
                }

                _IsAutoRunByWindow = value;
                RaisePropertyChanged("IsAutoRunByWindow");
            }
        }

        #endregion
		#region "IsAutoOpenSerial"

        private Boolean _IsAutoOpenSerial = default(Boolean);

        public Boolean IsAutoOpenSerial
        {
            get
            {
                return _IsAutoOpenSerial;
            }
            set
            {
                if (_IsAutoOpenSerial == value)
                {
                    return;
                }

                _IsAutoOpenSerial = value;
                RaisePropertyChanged("IsAutoOpenSerial");
            }
        }

        #endregion
		#region "IsAutoMonitor"

        private Boolean _IsAutoMonitor = default(Boolean);

        public Boolean IsAutoMonitor
        {
            get
            {
                return _IsAutoMonitor;
            }
            set
            {
                if (_IsAutoMonitor == value)
                {
                    return;
                }

                _IsAutoMonitor = value;
                RaisePropertyChanged("IsAutoMonitor");
            }
        }

        #endregion
	}
}
